MILKDROP_PRESET_VERSION=201 PSVERSION=3 PSVERSION_WARP=3 PSVERSION_COMP=3 [preset00] fRating=5.000000 fGammaAdj=1.980 fDecay=0.500 fVideoEchoZoom=1.000 fVideoEchoAlpha=0.500 nVideoEchoOrientation=3 nWaveMode=4 bAdditiveWaves=0 bWaveDots=0 bWaveThick=0 bModWaveAlphaByVolume=1 bMaximizeWaveColor=1 bTexWrap=1 bDarkenCenter=0 bRedBlueStereo=0 bBrighten=0 bDarken=1 bSolarize=0 bInvert=0 fWaveAlpha=0.003 fWaveScale=1.291 fWaveSmoothing=0.450 fWaveParam=0.080 fModWaveAlphaStart=0.000 fModWaveAlphaEnd=1.320 fWarpAnimSpeed=1.459 fWarpScale=2.007 fZoomExponent=1.00000 fShader=0.000 zoom=0.99990 rot=0.00000 cx=0.500 cy=0.500 dx=0.00000 dy=0.00000 warp=0.01000 sx=0.99990 sy=1.00000 wave_r=0.000 wave_g=0.990 wave_b=1.000 wave_x=0.500 wave_y=0.500 ob_size=0.000 ob_r=0.000 ob_g=0.000 ob_b=0.000 ob_a=1.000 ib_size=0.260 ib_r=0.250 ib_g=0.250 ib_b=0.250 ib_a=0.000 nMotionVectorsX=64.000 nMotionVectorsY=48.000 mv_dx=0.000 mv_dy=0.000 mv_l=1.850 mv_r=0.500 mv_g=0.500 mv_b=0.500 mv_a=0.000 b1n=0.000 b2n=0.000 b3n=0.000 b1x=1.000 b2x=1.000 b3x=1.000 b1ed=0.000 wavecode_0_enabled=0 wavecode_0_samples=512 wavecode_0_sep=120 wavecode_0_bSpectrum=0 wavecode_0_bUseDots=0 wavecode_0_bDrawThick=0 wavecode_0_bAdditive=1 wavecode_0_scaling=0.89152 wavecode_0_smoothing=0.82000 wavecode_0_r=1.000 wavecode_0_g=1.000 wavecode_0_b=1.000 wavecode_0_a=0.600 wavecode_1_enabled=0 wavecode_1_samples=512 wavecode_1_sep=0 wavecode_1_bSpectrum=0 wavecode_1_bUseDots=1 wavecode_1_bDrawThick=1 wavecode_1_bAdditive=0 wavecode_1_scaling=0.89152 wavecode_1_smoothing=0.82000 wavecode_1_r=1.000 wavecode_1_g=1.000 wavecode_1_b=1.000 wavecode_1_a=0.100 wavecode_2_enabled=0 wavecode_2_samples=512 wavecode_2_sep=0 wavecode_2_bSpectrum=0 wavecode_2_bUseDots=0 wavecode_2_bDrawThick=1 wavecode_2_bAdditive=0 wavecode_2_scaling=0.89152 wavecode_2_smoothing=0.82000 wavecode_2_r=0.000 wavecode_2_g=0.200 wavecode_2_b=0.000 wavecode_2_a=1.000 wavecode_3_enabled=0 wavecode_3_samples=512 wavecode_3_sep=0 wavecode_3_bSpectrum=1 wavecode_3_bUseDots=1 wavecode_3_bDrawThick=0 wavecode_3_bAdditive=0 wavecode_3_scaling=1.00000 wavecode_3_smoothing=0.50000 wavecode_3_r=1.000 wavecode_3_g=1.000 wavecode_3_b=1.000 wavecode_3_a=1.000 shapecode_0_enabled=0 shapecode_0_sides=4 shapecode_0_additive=0 shapecode_0_thickOutline=0 shapecode_0_textured=0 shapecode_0_num_inst=1 shapecode_0_x=0.500 shapecode_0_y=0.500 shapecode_0_rad=0.10853 shapecode_0_ang=0.00000 shapecode_0_tex_ang=1.00531 shapecode_0_tex_zoom=1.53117 shapecode_0_r=0.500 shapecode_0_g=0.000 shapecode_0_b=0.900 shapecode_0_a=1.000 shapecode_0_r2=0.830 shapecode_0_g2=0.930 shapecode_0_b2=0.800 shapecode_0_a2=1.000 shapecode_0_border_r=1.000 shapecode_0_border_g=1.000 shapecode_0_border_b=0.000 shapecode_0_border_a=0.000 shape_0_per_frame1= shape_0_per_frame2=x = .5; y = .5; shape_0_per_frame3=a = q22/28; shape_0_per_frame4=a2 = 0; shape_0_per_frame5=//a = 1; shapecode_1_enabled=0 shapecode_1_sides=4 shapecode_1_additive=0 shapecode_1_thickOutline=1 shapecode_1_textured=0 shapecode_1_num_inst=1 shapecode_1_x=0.400 shapecode_1_y=0.500 shapecode_1_rad=2.36696 shapecode_1_ang=0.00000 shapecode_1_tex_ang=3.45575 shapecode_1_tex_zoom=0.99305 shapecode_1_r=0.500 shapecode_1_g=0.000 shapecode_1_b=1.000 shapecode_1_a=0.200 shapecode_1_r2=0.700 shapecode_1_g2=0.400 shapecode_1_b2=0.000 shapecode_1_a2=0.000 shapecode_1_border_r=0.500 shapecode_1_border_g=0.500 shapecode_1_border_b=0.500 shapecode_1_border_a=0.000 shape_1_per_frame1=a2 =0;a = 0; shape_1_per_frame2=a = q24/2; shapecode_2_enabled=1 shapecode_2_sides=44 shapecode_2_additive=0 shapecode_2_thickOutline=0 shapecode_2_textured=0 shapecode_2_num_inst=1 shapecode_2_x=0.503 shapecode_2_y=0.500 shapecode_2_rad=0.03886 shapecode_2_ang=0.00000 shapecode_2_tex_ang=0.00000 shapecode_2_tex_zoom=0.60986 shapecode_2_r=1.000 shapecode_2_g=0.100 shapecode_2_b=0.000 shapecode_2_a=0.900 shapecode_2_r2=1.000 shapecode_2_g2=1.000 shapecode_2_b2=1.000 shapecode_2_a2=0.000 shapecode_2_border_r=1.000 shapecode_2_border_g=1.000 shapecode_2_border_b=1.000 shapecode_2_border_a=0.000 shape_2_per_frame1=x = .5+.5*(rand(100)-50)/100; shape_2_per_frame2=y = .5+.5*(rand(100)-50)/100; shape_2_per_frame3= shape_2_per_frame4=r = rand(4)/3; shape_2_per_frame5=g = rand(4)/3; shape_2_per_frame6=b = rand(4)/3; shape_2_per_frame7= shape_2_per_frame8= shape_2_per_frame9=is_beat = above(time, t0+.05); shape_2_per_frame10=t0 = is_beat*time + (1-is_beat)*t0; shape_2_per_frame11= shape_2_per_frame12= shape_2_per_frame13=a = min(q21 ,.9) * is_beat; shape_2_per_frame14=rad = a*a/3 ; shape_2_per_frame15= shapecode_3_enabled=0 shapecode_3_sides=63 shapecode_3_additive=0 shapecode_3_thickOutline=0 shapecode_3_textured=1 shapecode_3_num_inst=1 shapecode_3_x=0.500 shapecode_3_y=1.000 shapecode_3_rad=0.54822 shapecode_3_ang=0.00000 shapecode_3_tex_ang=0.00000 shapecode_3_tex_zoom=0.49981 shapecode_3_r=1.000 shapecode_3_g=1.000 shapecode_3_b=1.000 shapecode_3_a=1.000 shapecode_3_r2=1.000 shapecode_3_g2=1.000 shapecode_3_b2=1.000 shapecode_3_a2=0.000 shapecode_3_border_r=0.500 shapecode_3_border_g=0.500 shapecode_3_border_b=0.500 shapecode_3_border_a=0.000 per_frame_init_1=proxy = 3; pos_z = proxy*100; per_frame_init_2=movz = 0; per_frame_init_3=avg = 0; per_frame_init_4=avg_= 2; per_frame_1=dec_m = pow (0.95, 30/fps); dec_s = pow (0.99, 30/fps); per_frame_2= per_frame_3=beat = bass+mid+treb; per_frame_4=avg = avg*dec_s + beat*(1-dec_s); per_frame_5=avg_ = avg_*dec_s + avg*(1-dec_s); per_frame_6=is_beat = above(beat, 4+avg+peak) * above (time, t0+1); per_frame_7=t0 = is_beat*time + (1-is_beat)*t0; per_frame_8=peak = is_beat * beat + (1-is_beat)*peak*dec_m; per_frame_9=index = (index + is_beat) %16; per_frame_10=//index2 = (index2 + is_beat*bnot(index))%8; per_frame_11=q20 = avg_/3; per_frame_12=q22 = max(0,peak-.0)+.01; per_frame_13=q24 = is_beat; per_frame_14=q27 = index +1; per_frame_15= per_frame_16=push = (avg-2.5)/3; per_frame_17=ax = -(xang + min(max(push,-.7),.7))/3; //Divisor: 1/Frequenz per_frame_18= per_frame_19=ax = if (below(ax,0),ax*2,ax); per_frame_20=vx = vx *(1-1/fps)+ ax/fps; //1/fps: Daempfung per_frame_21=xang = xang + vx/fps; per_frame_22=// WINKEL per_frame_23=zang = 0; per_frame_24=yang = - .5*sin(time/16); per_frame_25=//yang = .7; per_frame_26= per_frame_27=//BEWEGUNG per_frame_28=movz= if(above(avg_/3,1.2),1,movz); per_frame_29=movz = if(below(avg_/3,.9),-1,movz); per_frame_30=proxy = proxy + movz/fps/4; per_frame_31=proxy = min(max(proxy,1.1),4); per_frame_32=proxy = 4-3*abs(sin(time/24)); per_frame_33=pos_z = dec_s * pos_z + (1-dec_s)*proxy*100; per_frame_34= per_frame_35=trelx = trelx + .1*sin(time/11)/fps*yang; per_frame_36=q5 = trelx; per_frame_37=trely = trely + xang*.2/fps; q6 = trely; per_frame_38=//q6 = time*.03; per_frame_39=vleaf = vleaf + (avg/64)/fps; per_frame_40=q29 = vleaf; per_frame_41=lrot = lrot + bass_att/fps*.2; per_frame_42=q32 = lrot; per_frame_43= per_frame_44=ox = 0; oy = 0; oz = pos_z; per_frame_45=mx = ox*cos(zang) - oy*sin(zang); per_frame_46=my = ox*sin(zang) + oy*cos(zang); per_frame_47=ox = mx;oy = my; per_frame_48=mx = ox*cos(yang) + oz*sin(yang); per_frame_49=mz = - ox*sin(yang) + oz*cos(yang); per_frame_50=ox = mx;oz = mz; per_frame_51=my = oy*cos(xang) - oz*sin(xang); per_frame_52=mz = oy*sin(xang) + oz*cos(xang); per_frame_53=oy = my;oz = mz; per_frame_54=q11=ox; q12 = oy; q13 = oz; //Position per_frame_55= per_frame_56=//Vektor x nach rechts per_frame_57=ox = 1; oy = 0; oz = 0; per_frame_58=mx = ox*cos(zang) - oy*sin(zang); per_frame_59=my = ox*sin(zang) + oy*cos(zang); per_frame_60=ox = mx;oy = my; per_frame_61=mx = ox*cos(yang) + oz*sin(yang); per_frame_62=mz = - ox*sin(yang) + oz*cos(yang); per_frame_63=ox = mx;oz = mz; per_frame_64=my = oy*cos(xang) - oz*sin(xang); per_frame_65=mz = oy*sin(xang) + oz*cos(xang); per_frame_66=oy = my;oz = mz; per_frame_67=q14=ox; q15 = oy; q16 = oz; per_frame_68= per_frame_69= per_frame_70=//Vektor z nach hinten per_frame_71=ox = 0; oy = 0; oz = 1;; per_frame_72= per_frame_73=mx = ox*cos(zang) - oy*sin(zang); per_frame_74=my = ox*sin(zang) + oy*cos(zang); per_frame_75=ox = mx;oy = my; per_frame_76=mx = ox*cos(yang) + oz*sin(yang); per_frame_77=mz = - ox*sin(yang) + oz*cos(yang); per_frame_78=ox = mx;oz = mz; per_frame_79=my = oy*cos(xang) - oz*sin(xang); per_frame_80=mz = oy*sin(xang) + oz*cos(xang); per_frame_81=oy = my; per_frame_82=oz = mz; per_frame_83=q17=ox; q18 = oy; q19 = oz; per_frame_84= per_frame_85=q31 = 20/pos_z; per_frame_86=q32 = pos_z; per_pixel_1=zoom = .995; warp_1=`sampler sampler_worms; warp_2=`float3 color, mus; warp_3=`float2 uv1, uv6; warp_4=`float dx,dy; warp_5=` warp_6=`shader_body { warp_7=` warp_8=`uv1 = (uv-.5); warp_9=` warp_10=`float2 ang2= tex2D (sampler_noise_hq,uv1/3+.006*time).xy; warp_11=`uv6 = mul(uv1,float2x2(ang2.y,-ang2.x,ang2.x,ang2.y)); warp_12=` warp_13=`mus = abs(.5*cos(uv6.y*14)-(cos(uv6.x*71))); warp_14=`mus *= float3 (1,.96,.9)/25; warp_15=` warp_16=`uv6 = .2*sin(12*uv+rand_frame); warp_17=`float3 dots = .001/length(uv6)* float3 (0.2,1,1); warp_18=` warp_19=`//dots = lum(tex2D (sampler_noise_hq,uv +rand_frame)); warp_20=`//dots = (dots-.7) * (dots >= .7) * float3 (0.2,1,1); warp_21=` warp_22=`mus -= dots; warp_23=` warp_24=` warp_25=`float3 blur = GetBlur1(frac(uv)); warp_26=` warp_27=`float2 hor = float2 (texsize.z,0); warp_28=`float2 ver = float2 (0,texsize.w); warp_29=`hor = float2 (.004,0); warp_30=`ver = float2 (0,.004); warp_31=` warp_32=` warp_33=` warp_34=`float dx = lum(GetPixel(uv+hor)-GetPixel(uv-hor)); warp_35=`float dy = lum(GetPixel(uv+ver)-GetPixel(uv-ver)); warp_36=` warp_37=`float2 zz = float2 (dx,dy); warp_38=` warp_39=` warp_40=`float3 crisp= tex2D(sampler_main,uv+zz*.02); warp_41=`crisp +=.015 - length(zz)*blur/1.5; warp_42=` warp_43=`float3 ret1 = crisp - lum(blur)*.012 + mus; warp_44=`//ret1 = abs(mus)/2; warp_45=`ret = ret1 * .99 - .04 ; warp_46=` warp_47=` warp_48=`} comp_1=`sampler sampler_pw_noise_lq; comp_2=`static float quality = 2, depth = q31; comp_3=`float3 neu, rsl, rsl2, rsl3, ret1, screen3, back,lcol, sky; comp_4=`float2 uv0, uv1, uv2, uv4; comp_5=`float lprof,lprof2,m,n,dist,cloud,mask, shadow, mask1,lmask,leaves,clshadow,gmask; comp_6=`static float lav_gnd = 0; comp_7=`static const float anz = 3; comp_8=`static float2 mov = float2 (q5,q6); comp_9=` comp_10=`static float3 t = float3(q14,q15,q16); comp_11=`static float3 s = float3(q17,q18,q19); comp_12=`static float3 ts = -cross(s,t); comp_13=`static float3 pos = float3 (q11,q12,q13); comp_14=` comp_15=`float3 project (float3 pos, float dist) { comp_16=` float z; comp_17=` z = dist/mul(cross(ts,-t),screen3) *(1-lav_gnd); comp_18=` gmask = (z <= 0)*(z >= -8); comp_19=` return gmask* float3(mul(float2x3(ts,t),cross(pos,screen3))*z/256,-z);} comp_20=` comp_21=`float3 lproject (float3 pos, float dist) { comp_22=` float z; comp_23=` z = dist/mul(cross(ts,-t),screen3) *(1-lav_gnd) ; comp_24=` return (z<=0)*(z>=-4)* float3(mul(float2x3(ts,t),cross(pos,screen3))*z/256,-z);} comp_25=` comp_26=`float noise2 (float2 uvi) comp_27=`{return 1*(tex2D (sampler_noise_hq,uvi) + 0*tex2D (sampler_noise_hq,uvi*4)/4);} comp_28=` comp_29=`shader_body {uv0 = uv; comp_30=`screen3 = float3 ((uv-.5)*aspect.xy,1);//wirkt wie zoom / Tele ### comp_31=` comp_32=`//*****leaves********** comp_33=`lav_gnd = tex2D (sampler_noise_hq,uv)*.03; comp_34=`rsl3 = lproject(pos,1.5) + float3 (q29,-time/118,0) + float3 (mov,0); comp_35=`float glmask = tex2D (sampler_pw_noise_lq,rsl3.x*.004) >= .3; comp_36=`uv2 = rsl3.xy*16; comp_37=`uv2.y += tex2D (sampler_pw_noise_lq,uv2.x/256).g*-2*time; comp_38=`float3 noise = 8*tex2D (sampler_pw_noise_lq,uv2/256); comp_39=`lmask = noise.g >= 7.; lmask *= glmask; comp_40=`uv2 = frac(uv2); comp_41=`float lside = sin((noise.b-8)*2*time+q32); comp_42=`float lsize = 3*(noise.g-6); comp_43=`leaves = lmask*lsize *(3+frac(4*uv2.x/uv2.y))/4 comp_44=` -26*length((uv2-.5)*float2(1,2/lside)); comp_45=`lcol = (1+tex2D (sampler_noise_hq,uv2/8+noise))* float3 (.8+lside/4,.5,0);; comp_46=`lcol -= tex2D (sampler_noise_hq,uv2+noise).r*.25; comp_47=`leaves = saturate(leaves); comp_48=` comp_49=`//**** main part ****** comp_50=`lav_gnd = 0; comp_51=`rsl = project (pos, 1)+float3 (time*.006,.6,0); comp_52=`back = saturate(1-rsl.y); comp_53=` comp_54=`float3 back7=back; comp_55=`if(frame%3==0)back.z=.71-back7.x; comp_56=` comp_57=`cloud = saturate(noise2(rsl.xy/8*float2(1,4))-.4)*saturate(.5+back); comp_58=`back *= slow_roam_sin.wyx*roam_cos.wzy*.6;//float3(.7,.77,.96); comp_59=` comp_60=`if(frame%5==0)back.x=.71-back7.y; comp_61=`if(frame%7==0)back.y=.71-back7.z; comp_62=` comp_63=`sky = lerp(back,2*cloud,cloud/2); comp_64=`//sky = back; comp_65=`//sky = back + cloud/4; comp_66=`ret1 = sky; comp_67=`lprof2 = 0; comp_68=`for (n=anz; n >= 1; n--) { comp_69=` dist = (n); lav_gnd = 0; mov += n/anz; comp_70=` for (m=1; m <= quality; m++) { comp_71=` rsl = project (pos, dist)+float3 (mov,0); comp_72=` lprof = .5-lum(GetBlur1(frac(rsl.xy))); //mittelwert null !# comp_73=` lav_gnd -= lprof/quality*depth/rsl.z; comp_74=` } comp_75=` comp_76=` rsl = project (pos, dist)+float3 (mov,0) ; comp_77=` rsl2 = project (pos, dist)+float3 (0,0,0); comp_78=` int first = (n==1); comp_79=` if (!first) {shadow = saturate(4*GetPixel(frac(rsl2.xy))) ;} comp_80=` neu = GetPixel(frac(rsl.xy)); comp_81=` float dista = length(rsl.xy)*.001; comp_82=` mask = saturate(16/dist*lum(neu))*gmask; comp_83=` neu *= 1-.5*lum(tex2D (sampler_noise_lq,rsl.xy*4)); comp_84=` clshadow = clamp (q20*1.6-noise2(rsl.xy*float2(.02,.1)+float2(time*.01,0)),.2,1); comp_85=` neu *= (1-shadow*.5* (!first))*clshadow; comp_86=` comp_87=`// neu *= saturate(noise2(rsl.xy/16+time*.01)+q20-.5+0*(rsl.z)) ; // Abdunkelung hinten comp_88=` neu = lerp(back, neu, saturate(5-rsl.z)); //Nebel comp_89=` ret1 = lerp(ret1,neu,mask) ; comp_90=`} comp_91=` comp_92=`rsl = project (pos, dist)+float3 (mov+lprof/2,0); comp_93=` comp_94=`ret1 = lerp(ret1,leaves*(1-shadow/2)*clshadow*lcol, leaves*.5*saturate(!mask)); comp_95=`//ret1 *= clshadow; comp_96=`//ret = 1-exp(-ret1*2+.1) ; comp_97=`ret = ret1; comp_98=` comp_99=` comp_100=`} comp_101=` comp_102=`written by martin comp_103=`END